home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
UTILITIE
/
CPU_MEMO
/
3468.ZIP
/
POPUP.ZIP
/
WINDTEST.C
< prev
Wrap
C/C++ Source or Header
|
1988-06-30
|
1KB
|
37 lines
#include <stdio.h>
#include <standard.h>
#define BlackOnGreen 32
#define GreenOnBlack 2
/******************************************************************************
* MAIN MAIN MAIN MAIN MAIN MAIN MAIN MAIN MAIN MAIN MAIN MAIN *
******************************************************************************/
main( argc, argv )
int argc ;
char *argv[] ;
{
BYTE *p ;
static BYTE save[80*24*2+1];
char buffer[81];
monitor();
FOREVER
{
popup(1,4);
SaveBox( save, 5, 24, 18, 55 );
ClearBox( 5, 24, 18, 55, GreenOnBlack );
border( 5, 24, 18, 55, NULL, NULL, BlackOnGreen );
border( 9, 24, 14, 55, NULL, NULL, BlackOnGreen );
PrintCentered( 7, 24, 55, "This is a test", GreenOnBlack );
prn( 11, 26, "text2", GreenOnBlack );
prn( 12, 26, "text3", GreenOnBlack );
GetString( 13, 26, buffer, 25, GreenOnBlack );
RestoreBox( save, 5, 24, 18, 55 );
}
}